<h3><?php echo __text('admin_storage_service_title'); ?></h3>
<p class="desc">
	<?php echo __text('admin_storage_service_desc'); ?>
</p>
<?php echo Toolbar::factory('core/admin/storage/index') -> render(); ?>
<table class="adminTable">
	<thead>
		<tr>
			<td>ID</td>
			<td><?php echo __text('Title'); ?></td>
			<td><?php echo __text('Service ID'); ?></td>
			<td><?php echo __text('Active'); ?></td>
			<td><?php echo __text('Locked'); ?></td>
			<td><?php echo __text('Default'); ?></td>
			<td><?php echo __text('Updated At'); ?></td>
			<td><?php echo __text('Operations'); ?></td>
		</tr>
	</thead>
	<tbody>
		<?php foreach($items as $item): ?>
	<tr>
		<td><?php echo $item -> getId(); ?></td>
		<td><?php echo $item -> getTitle(); ?></td>
		<td><?php echo $item -> getServiceId(); ?></td>
		<td><?php echo __text($item -> isActive() ? 'Yes' : 'No'); ?></td>
		<td><?php echo __text($item -> isLocked() ? 'Yes' : 'No'); ?></td>
		<td><?php echo __text($item -> isDefault() ? 'Yes' : 'No'); ?></td>
		<td><?php echo __date($item -> updated_at); ?></td>
		<td>
			<a href="<?php echo Agilet::getUrl('admin/system/storage/edit', array(
				'id' => $item -> getId(),
				'service_id' => $item -> getServiceId()
			));
 ?>"><?php echo __text('Edit'); ?></a> |
 <a href="<?php echo Agilet::getUrl('admin/system/storage/delete', array(
		'id' => $item -> getId(),
		'service_id' => $item -> getServiceId()
	));
 ?>"><?php echo __text('Delete'); ?></a>
		</td>
	</tr>
	<?php endforeach; ?>
	</tbody>
</table>
	
	